package cn.andios.pojo;

import java.util.ArrayList;
import java.util.List;

public class StuExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public StuExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andStuIdIsNull() {
            addCriterion("stu_id is null");
            return (Criteria) this;
        }

        public Criteria andStuIdIsNotNull() {
            addCriterion("stu_id is not null");
            return (Criteria) this;
        }

        public Criteria andStuIdEqualTo(String value) {
            addCriterion("stu_id =", value, "stuId");
            return (Criteria) this;
        }

        public Criteria andStuIdNotEqualTo(String value) {
            addCriterion("stu_id <>", value, "stuId");
            return (Criteria) this;
        }

        public Criteria andStuIdGreaterThan(String value) {
            addCriterion("stu_id >", value, "stuId");
            return (Criteria) this;
        }

        public Criteria andStuIdGreaterThanOrEqualTo(String value) {
            addCriterion("stu_id >=", value, "stuId");
            return (Criteria) this;
        }

        public Criteria andStuIdLessThan(String value) {
            addCriterion("stu_id <", value, "stuId");
            return (Criteria) this;
        }

        public Criteria andStuIdLessThanOrEqualTo(String value) {
            addCriterion("stu_id <=", value, "stuId");
            return (Criteria) this;
        }

        public Criteria andStuIdLike(String value) {
            addCriterion("stu_id like", value, "stuId");
            return (Criteria) this;
        }

        public Criteria andStuIdNotLike(String value) {
            addCriterion("stu_id not like", value, "stuId");
            return (Criteria) this;
        }

        public Criteria andStuIdIn(List<String> values) {
            addCriterion("stu_id in", values, "stuId");
            return (Criteria) this;
        }

        public Criteria andStuIdNotIn(List<String> values) {
            addCriterion("stu_id not in", values, "stuId");
            return (Criteria) this;
        }

        public Criteria andStuIdBetween(String value1, String value2) {
            addCriterion("stu_id between", value1, value2, "stuId");
            return (Criteria) this;
        }

        public Criteria andStuIdNotBetween(String value1, String value2) {
            addCriterion("stu_id not between", value1, value2, "stuId");
            return (Criteria) this;
        }

        public Criteria andStuPwdIsNull() {
            addCriterion("stu_pwd is null");
            return (Criteria) this;
        }

        public Criteria andStuPwdIsNotNull() {
            addCriterion("stu_pwd is not null");
            return (Criteria) this;
        }

        public Criteria andStuPwdEqualTo(String value) {
            addCriterion("stu_pwd =", value, "stuPwd");
            return (Criteria) this;
        }

        public Criteria andStuPwdNotEqualTo(String value) {
            addCriterion("stu_pwd <>", value, "stuPwd");
            return (Criteria) this;
        }

        public Criteria andStuPwdGreaterThan(String value) {
            addCriterion("stu_pwd >", value, "stuPwd");
            return (Criteria) this;
        }

        public Criteria andStuPwdGreaterThanOrEqualTo(String value) {
            addCriterion("stu_pwd >=", value, "stuPwd");
            return (Criteria) this;
        }

        public Criteria andStuPwdLessThan(String value) {
            addCriterion("stu_pwd <", value, "stuPwd");
            return (Criteria) this;
        }

        public Criteria andStuPwdLessThanOrEqualTo(String value) {
            addCriterion("stu_pwd <=", value, "stuPwd");
            return (Criteria) this;
        }

        public Criteria andStuPwdLike(String value) {
            addCriterion("stu_pwd like", value, "stuPwd");
            return (Criteria) this;
        }

        public Criteria andStuPwdNotLike(String value) {
            addCriterion("stu_pwd not like", value, "stuPwd");
            return (Criteria) this;
        }

        public Criteria andStuPwdIn(List<String> values) {
            addCriterion("stu_pwd in", values, "stuPwd");
            return (Criteria) this;
        }

        public Criteria andStuPwdNotIn(List<String> values) {
            addCriterion("stu_pwd not in", values, "stuPwd");
            return (Criteria) this;
        }

        public Criteria andStuPwdBetween(String value1, String value2) {
            addCriterion("stu_pwd between", value1, value2, "stuPwd");
            return (Criteria) this;
        }

        public Criteria andStuPwdNotBetween(String value1, String value2) {
            addCriterion("stu_pwd not between", value1, value2, "stuPwd");
            return (Criteria) this;
        }

        public Criteria andStuNameIsNull() {
            addCriterion("stu_name is null");
            return (Criteria) this;
        }

        public Criteria andStuNameIsNotNull() {
            addCriterion("stu_name is not null");
            return (Criteria) this;
        }

        public Criteria andStuNameEqualTo(String value) {
            addCriterion("stu_name =", value, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuNameNotEqualTo(String value) {
            addCriterion("stu_name <>", value, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuNameGreaterThan(String value) {
            addCriterion("stu_name >", value, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuNameGreaterThanOrEqualTo(String value) {
            addCriterion("stu_name >=", value, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuNameLessThan(String value) {
            addCriterion("stu_name <", value, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuNameLessThanOrEqualTo(String value) {
            addCriterion("stu_name <=", value, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuNameLike(String value) {
            addCriterion("stu_name like", value, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuNameNotLike(String value) {
            addCriterion("stu_name not like", value, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuNameIn(List<String> values) {
            addCriterion("stu_name in", values, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuNameNotIn(List<String> values) {
            addCriterion("stu_name not in", values, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuNameBetween(String value1, String value2) {
            addCriterion("stu_name between", value1, value2, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuNameNotBetween(String value1, String value2) {
            addCriterion("stu_name not between", value1, value2, "stuName");
            return (Criteria) this;
        }

        public Criteria andStuSexIsNull() {
            addCriterion("stu_sex is null");
            return (Criteria) this;
        }

        public Criteria andStuSexIsNotNull() {
            addCriterion("stu_sex is not null");
            return (Criteria) this;
        }

        public Criteria andStuSexEqualTo(Integer value) {
            addCriterion("stu_sex =", value, "stuSex");
            return (Criteria) this;
        }

        public Criteria andStuSexNotEqualTo(Integer value) {
            addCriterion("stu_sex <>", value, "stuSex");
            return (Criteria) this;
        }

        public Criteria andStuSexGreaterThan(Integer value) {
            addCriterion("stu_sex >", value, "stuSex");
            return (Criteria) this;
        }

        public Criteria andStuSexGreaterThanOrEqualTo(Integer value) {
            addCriterion("stu_sex >=", value, "stuSex");
            return (Criteria) this;
        }

        public Criteria andStuSexLessThan(Integer value) {
            addCriterion("stu_sex <", value, "stuSex");
            return (Criteria) this;
        }

        public Criteria andStuSexLessThanOrEqualTo(Integer value) {
            addCriterion("stu_sex <=", value, "stuSex");
            return (Criteria) this;
        }

        public Criteria andStuSexIn(List<Integer> values) {
            addCriterion("stu_sex in", values, "stuSex");
            return (Criteria) this;
        }

        public Criteria andStuSexNotIn(List<Integer> values) {
            addCriterion("stu_sex not in", values, "stuSex");
            return (Criteria) this;
        }

        public Criteria andStuSexBetween(Integer value1, Integer value2) {
            addCriterion("stu_sex between", value1, value2, "stuSex");
            return (Criteria) this;
        }

        public Criteria andStuSexNotBetween(Integer value1, Integer value2) {
            addCriterion("stu_sex not between", value1, value2, "stuSex");
            return (Criteria) this;
        }

        public Criteria andStuCollegeIsNull() {
            addCriterion("stu_college is null");
            return (Criteria) this;
        }

        public Criteria andStuCollegeIsNotNull() {
            addCriterion("stu_college is not null");
            return (Criteria) this;
        }

        public Criteria andStuCollegeEqualTo(Integer value) {
            addCriterion("stu_college =", value, "stuCollege");
            return (Criteria) this;
        }

        public Criteria andStuCollegeNotEqualTo(Integer value) {
            addCriterion("stu_college <>", value, "stuCollege");
            return (Criteria) this;
        }

        public Criteria andStuCollegeGreaterThan(Integer value) {
            addCriterion("stu_college >", value, "stuCollege");
            return (Criteria) this;
        }

        public Criteria andStuCollegeGreaterThanOrEqualTo(Integer value) {
            addCriterion("stu_college >=", value, "stuCollege");
            return (Criteria) this;
        }

        public Criteria andStuCollegeLessThan(Integer value) {
            addCriterion("stu_college <", value, "stuCollege");
            return (Criteria) this;
        }

        public Criteria andStuCollegeLessThanOrEqualTo(Integer value) {
            addCriterion("stu_college <=", value, "stuCollege");
            return (Criteria) this;
        }

        public Criteria andStuCollegeIn(List<Integer> values) {
            addCriterion("stu_college in", values, "stuCollege");
            return (Criteria) this;
        }

        public Criteria andStuCollegeNotIn(List<Integer> values) {
            addCriterion("stu_college not in", values, "stuCollege");
            return (Criteria) this;
        }

        public Criteria andStuCollegeBetween(Integer value1, Integer value2) {
            addCriterion("stu_college between", value1, value2, "stuCollege");
            return (Criteria) this;
        }

        public Criteria andStuCollegeNotBetween(Integer value1, Integer value2) {
            addCriterion("stu_college not between", value1, value2, "stuCollege");
            return (Criteria) this;
        }

        public Criteria andStuClassIsNull() {
            addCriterion("stu_class is null");
            return (Criteria) this;
        }

        public Criteria andStuClassIsNotNull() {
            addCriterion("stu_class is not null");
            return (Criteria) this;
        }

        public Criteria andStuClassEqualTo(Integer value) {
            addCriterion("stu_class =", value, "stuClass");
            return (Criteria) this;
        }

        public Criteria andStuClassNotEqualTo(Integer value) {
            addCriterion("stu_class <>", value, "stuClass");
            return (Criteria) this;
        }

        public Criteria andStuClassGreaterThan(Integer value) {
            addCriterion("stu_class >", value, "stuClass");
            return (Criteria) this;
        }

        public Criteria andStuClassGreaterThanOrEqualTo(Integer value) {
            addCriterion("stu_class >=", value, "stuClass");
            return (Criteria) this;
        }

        public Criteria andStuClassLessThan(Integer value) {
            addCriterion("stu_class <", value, "stuClass");
            return (Criteria) this;
        }

        public Criteria andStuClassLessThanOrEqualTo(Integer value) {
            addCriterion("stu_class <=", value, "stuClass");
            return (Criteria) this;
        }

        public Criteria andStuClassIn(List<Integer> values) {
            addCriterion("stu_class in", values, "stuClass");
            return (Criteria) this;
        }

        public Criteria andStuClassNotIn(List<Integer> values) {
            addCriterion("stu_class not in", values, "stuClass");
            return (Criteria) this;
        }

        public Criteria andStuClassBetween(Integer value1, Integer value2) {
            addCriterion("stu_class between", value1, value2, "stuClass");
            return (Criteria) this;
        }

        public Criteria andStuClassNotBetween(Integer value1, Integer value2) {
            addCriterion("stu_class not between", value1, value2, "stuClass");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryIsNull() {
            addCriterion("stu_dormitory is null");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryIsNotNull() {
            addCriterion("stu_dormitory is not null");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryEqualTo(String value) {
            addCriterion("stu_dormitory =", value, "stuDormitory");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryNotEqualTo(String value) {
            addCriterion("stu_dormitory <>", value, "stuDormitory");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryGreaterThan(String value) {
            addCriterion("stu_dormitory >", value, "stuDormitory");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryGreaterThanOrEqualTo(String value) {
            addCriterion("stu_dormitory >=", value, "stuDormitory");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryLessThan(String value) {
            addCriterion("stu_dormitory <", value, "stuDormitory");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryLessThanOrEqualTo(String value) {
            addCriterion("stu_dormitory <=", value, "stuDormitory");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryLike(String value) {
            addCriterion("stu_dormitory like", value, "stuDormitory");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryNotLike(String value) {
            addCriterion("stu_dormitory not like", value, "stuDormitory");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryIn(List<String> values) {
            addCriterion("stu_dormitory in", values, "stuDormitory");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryNotIn(List<String> values) {
            addCriterion("stu_dormitory not in", values, "stuDormitory");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryBetween(String value1, String value2) {
            addCriterion("stu_dormitory between", value1, value2, "stuDormitory");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryNotBetween(String value1, String value2) {
            addCriterion("stu_dormitory not between", value1, value2, "stuDormitory");
            return (Criteria) this;
        }

        public Criteria andStuCollegeInfoIsNull() {
            addCriterion("stu_college_info is null");
            return (Criteria) this;
        }

        public Criteria andStuCollegeInfoIsNotNull() {
            addCriterion("stu_college_info is not null");
            return (Criteria) this;
        }

        public Criteria andStuCollegeInfoEqualTo(Integer value) {
            addCriterion("stu_college_info =", value, "stuCollegeInfo");
            return (Criteria) this;
        }

        public Criteria andStuCollegeInfoNotEqualTo(Integer value) {
            addCriterion("stu_college_info <>", value, "stuCollegeInfo");
            return (Criteria) this;
        }

        public Criteria andStuCollegeInfoGreaterThan(Integer value) {
            addCriterion("stu_college_info >", value, "stuCollegeInfo");
            return (Criteria) this;
        }

        public Criteria andStuCollegeInfoGreaterThanOrEqualTo(Integer value) {
            addCriterion("stu_college_info >=", value, "stuCollegeInfo");
            return (Criteria) this;
        }

        public Criteria andStuCollegeInfoLessThan(Integer value) {
            addCriterion("stu_college_info <", value, "stuCollegeInfo");
            return (Criteria) this;
        }

        public Criteria andStuCollegeInfoLessThanOrEqualTo(Integer value) {
            addCriterion("stu_college_info <=", value, "stuCollegeInfo");
            return (Criteria) this;
        }

        public Criteria andStuCollegeInfoIn(List<Integer> values) {
            addCriterion("stu_college_info in", values, "stuCollegeInfo");
            return (Criteria) this;
        }

        public Criteria andStuCollegeInfoNotIn(List<Integer> values) {
            addCriterion("stu_college_info not in", values, "stuCollegeInfo");
            return (Criteria) this;
        }

        public Criteria andStuCollegeInfoBetween(Integer value1, Integer value2) {
            addCriterion("stu_college_info between", value1, value2, "stuCollegeInfo");
            return (Criteria) this;
        }

        public Criteria andStuCollegeInfoNotBetween(Integer value1, Integer value2) {
            addCriterion("stu_college_info not between", value1, value2, "stuCollegeInfo");
            return (Criteria) this;
        }

        public Criteria andStuOrganizationInfoIsNull() {
            addCriterion("stu_organization_info is null");
            return (Criteria) this;
        }

        public Criteria andStuOrganizationInfoIsNotNull() {
            addCriterion("stu_organization_info is not null");
            return (Criteria) this;
        }

        public Criteria andStuOrganizationInfoEqualTo(Integer value) {
            addCriterion("stu_organization_info =", value, "stuOrganizationInfo");
            return (Criteria) this;
        }

        public Criteria andStuOrganizationInfoNotEqualTo(Integer value) {
            addCriterion("stu_organization_info <>", value, "stuOrganizationInfo");
            return (Criteria) this;
        }

        public Criteria andStuOrganizationInfoGreaterThan(Integer value) {
            addCriterion("stu_organization_info >", value, "stuOrganizationInfo");
            return (Criteria) this;
        }

        public Criteria andStuOrganizationInfoGreaterThanOrEqualTo(Integer value) {
            addCriterion("stu_organization_info >=", value, "stuOrganizationInfo");
            return (Criteria) this;
        }

        public Criteria andStuOrganizationInfoLessThan(Integer value) {
            addCriterion("stu_organization_info <", value, "stuOrganizationInfo");
            return (Criteria) this;
        }

        public Criteria andStuOrganizationInfoLessThanOrEqualTo(Integer value) {
            addCriterion("stu_organization_info <=", value, "stuOrganizationInfo");
            return (Criteria) this;
        }

        public Criteria andStuOrganizationInfoIn(List<Integer> values) {
            addCriterion("stu_organization_info in", values, "stuOrganizationInfo");
            return (Criteria) this;
        }

        public Criteria andStuOrganizationInfoNotIn(List<Integer> values) {
            addCriterion("stu_organization_info not in", values, "stuOrganizationInfo");
            return (Criteria) this;
        }

        public Criteria andStuOrganizationInfoBetween(Integer value1, Integer value2) {
            addCriterion("stu_organization_info between", value1, value2, "stuOrganizationInfo");
            return (Criteria) this;
        }

        public Criteria andStuOrganizationInfoNotBetween(Integer value1, Integer value2) {
            addCriterion("stu_organization_info not between", value1, value2, "stuOrganizationInfo");
            return (Criteria) this;
        }

        public Criteria andStuYouthleagueInfoIsNull() {
            addCriterion("stu_youthLeague_info is null");
            return (Criteria) this;
        }

        public Criteria andStuYouthleagueInfoIsNotNull() {
            addCriterion("stu_youthLeague_info is not null");
            return (Criteria) this;
        }

        public Criteria andStuYouthleagueInfoEqualTo(Integer value) {
            addCriterion("stu_youthLeague_info =", value, "stuYouthleagueInfo");
            return (Criteria) this;
        }

        public Criteria andStuYouthleagueInfoNotEqualTo(Integer value) {
            addCriterion("stu_youthLeague_info <>", value, "stuYouthleagueInfo");
            return (Criteria) this;
        }

        public Criteria andStuYouthleagueInfoGreaterThan(Integer value) {
            addCriterion("stu_youthLeague_info >", value, "stuYouthleagueInfo");
            return (Criteria) this;
        }

        public Criteria andStuYouthleagueInfoGreaterThanOrEqualTo(Integer value) {
            addCriterion("stu_youthLeague_info >=", value, "stuYouthleagueInfo");
            return (Criteria) this;
        }

        public Criteria andStuYouthleagueInfoLessThan(Integer value) {
            addCriterion("stu_youthLeague_info <", value, "stuYouthleagueInfo");
            return (Criteria) this;
        }

        public Criteria andStuYouthleagueInfoLessThanOrEqualTo(Integer value) {
            addCriterion("stu_youthLeague_info <=", value, "stuYouthleagueInfo");
            return (Criteria) this;
        }

        public Criteria andStuYouthleagueInfoIn(List<Integer> values) {
            addCriterion("stu_youthLeague_info in", values, "stuYouthleagueInfo");
            return (Criteria) this;
        }

        public Criteria andStuYouthleagueInfoNotIn(List<Integer> values) {
            addCriterion("stu_youthLeague_info not in", values, "stuYouthleagueInfo");
            return (Criteria) this;
        }

        public Criteria andStuYouthleagueInfoBetween(Integer value1, Integer value2) {
            addCriterion("stu_youthLeague_info between", value1, value2, "stuYouthleagueInfo");
            return (Criteria) this;
        }

        public Criteria andStuYouthleagueInfoNotBetween(Integer value1, Integer value2) {
            addCriterion("stu_youthLeague_info not between", value1, value2, "stuYouthleagueInfo");
            return (Criteria) this;
        }

        public Criteria andStuLibraryInfoIsNull() {
            addCriterion("stu_library_info is null");
            return (Criteria) this;
        }

        public Criteria andStuLibraryInfoIsNotNull() {
            addCriterion("stu_library_info is not null");
            return (Criteria) this;
        }

        public Criteria andStuLibraryInfoEqualTo(Integer value) {
            addCriterion("stu_library_info =", value, "stuLibraryInfo");
            return (Criteria) this;
        }

        public Criteria andStuLibraryInfoNotEqualTo(Integer value) {
            addCriterion("stu_library_info <>", value, "stuLibraryInfo");
            return (Criteria) this;
        }

        public Criteria andStuLibraryInfoGreaterThan(Integer value) {
            addCriterion("stu_library_info >", value, "stuLibraryInfo");
            return (Criteria) this;
        }

        public Criteria andStuLibraryInfoGreaterThanOrEqualTo(Integer value) {
            addCriterion("stu_library_info >=", value, "stuLibraryInfo");
            return (Criteria) this;
        }

        public Criteria andStuLibraryInfoLessThan(Integer value) {
            addCriterion("stu_library_info <", value, "stuLibraryInfo");
            return (Criteria) this;
        }

        public Criteria andStuLibraryInfoLessThanOrEqualTo(Integer value) {
            addCriterion("stu_library_info <=", value, "stuLibraryInfo");
            return (Criteria) this;
        }

        public Criteria andStuLibraryInfoIn(List<Integer> values) {
            addCriterion("stu_library_info in", values, "stuLibraryInfo");
            return (Criteria) this;
        }

        public Criteria andStuLibraryInfoNotIn(List<Integer> values) {
            addCriterion("stu_library_info not in", values, "stuLibraryInfo");
            return (Criteria) this;
        }

        public Criteria andStuLibraryInfoBetween(Integer value1, Integer value2) {
            addCriterion("stu_library_info between", value1, value2, "stuLibraryInfo");
            return (Criteria) this;
        }

        public Criteria andStuLibraryInfoNotBetween(Integer value1, Integer value2) {
            addCriterion("stu_library_info not between", value1, value2, "stuLibraryInfo");
            return (Criteria) this;
        }

        public Criteria andStuOfficeInfoIsNull() {
            addCriterion("stu_office_info is null");
            return (Criteria) this;
        }

        public Criteria andStuOfficeInfoIsNotNull() {
            addCriterion("stu_office_info is not null");
            return (Criteria) this;
        }

        public Criteria andStuOfficeInfoEqualTo(Integer value) {
            addCriterion("stu_office_info =", value, "stuOfficeInfo");
            return (Criteria) this;
        }

        public Criteria andStuOfficeInfoNotEqualTo(Integer value) {
            addCriterion("stu_office_info <>", value, "stuOfficeInfo");
            return (Criteria) this;
        }

        public Criteria andStuOfficeInfoGreaterThan(Integer value) {
            addCriterion("stu_office_info >", value, "stuOfficeInfo");
            return (Criteria) this;
        }

        public Criteria andStuOfficeInfoGreaterThanOrEqualTo(Integer value) {
            addCriterion("stu_office_info >=", value, "stuOfficeInfo");
            return (Criteria) this;
        }

        public Criteria andStuOfficeInfoLessThan(Integer value) {
            addCriterion("stu_office_info <", value, "stuOfficeInfo");
            return (Criteria) this;
        }

        public Criteria andStuOfficeInfoLessThanOrEqualTo(Integer value) {
            addCriterion("stu_office_info <=", value, "stuOfficeInfo");
            return (Criteria) this;
        }

        public Criteria andStuOfficeInfoIn(List<Integer> values) {
            addCriterion("stu_office_info in", values, "stuOfficeInfo");
            return (Criteria) this;
        }

        public Criteria andStuOfficeInfoNotIn(List<Integer> values) {
            addCriterion("stu_office_info not in", values, "stuOfficeInfo");
            return (Criteria) this;
        }

        public Criteria andStuOfficeInfoBetween(Integer value1, Integer value2) {
            addCriterion("stu_office_info between", value1, value2, "stuOfficeInfo");
            return (Criteria) this;
        }

        public Criteria andStuOfficeInfoNotBetween(Integer value1, Integer value2) {
            addCriterion("stu_office_info not between", value1, value2, "stuOfficeInfo");
            return (Criteria) this;
        }

        public Criteria andStuFinanceInfoIsNull() {
            addCriterion("stu_finance_info is null");
            return (Criteria) this;
        }

        public Criteria andStuFinanceInfoIsNotNull() {
            addCriterion("stu_finance_info is not null");
            return (Criteria) this;
        }

        public Criteria andStuFinanceInfoEqualTo(Integer value) {
            addCriterion("stu_finance_info =", value, "stuFinanceInfo");
            return (Criteria) this;
        }

        public Criteria andStuFinanceInfoNotEqualTo(Integer value) {
            addCriterion("stu_finance_info <>", value, "stuFinanceInfo");
            return (Criteria) this;
        }

        public Criteria andStuFinanceInfoGreaterThan(Integer value) {
            addCriterion("stu_finance_info >", value, "stuFinanceInfo");
            return (Criteria) this;
        }

        public Criteria andStuFinanceInfoGreaterThanOrEqualTo(Integer value) {
            addCriterion("stu_finance_info >=", value, "stuFinanceInfo");
            return (Criteria) this;
        }

        public Criteria andStuFinanceInfoLessThan(Integer value) {
            addCriterion("stu_finance_info <", value, "stuFinanceInfo");
            return (Criteria) this;
        }

        public Criteria andStuFinanceInfoLessThanOrEqualTo(Integer value) {
            addCriterion("stu_finance_info <=", value, "stuFinanceInfo");
            return (Criteria) this;
        }

        public Criteria andStuFinanceInfoIn(List<Integer> values) {
            addCriterion("stu_finance_info in", values, "stuFinanceInfo");
            return (Criteria) this;
        }

        public Criteria andStuFinanceInfoNotIn(List<Integer> values) {
            addCriterion("stu_finance_info not in", values, "stuFinanceInfo");
            return (Criteria) this;
        }

        public Criteria andStuFinanceInfoBetween(Integer value1, Integer value2) {
            addCriterion("stu_finance_info between", value1, value2, "stuFinanceInfo");
            return (Criteria) this;
        }

        public Criteria andStuFinanceInfoNotBetween(Integer value1, Integer value2) {
            addCriterion("stu_finance_info not between", value1, value2, "stuFinanceInfo");
            return (Criteria) this;
        }

        public Criteria andStuManageInfoIsNull() {
            addCriterion("stu_manage_info is null");
            return (Criteria) this;
        }

        public Criteria andStuManageInfoIsNotNull() {
            addCriterion("stu_manage_info is not null");
            return (Criteria) this;
        }

        public Criteria andStuManageInfoEqualTo(Integer value) {
            addCriterion("stu_manage_info =", value, "stuManageInfo");
            return (Criteria) this;
        }

        public Criteria andStuManageInfoNotEqualTo(Integer value) {
            addCriterion("stu_manage_info <>", value, "stuManageInfo");
            return (Criteria) this;
        }

        public Criteria andStuManageInfoGreaterThan(Integer value) {
            addCriterion("stu_manage_info >", value, "stuManageInfo");
            return (Criteria) this;
        }

        public Criteria andStuManageInfoGreaterThanOrEqualTo(Integer value) {
            addCriterion("stu_manage_info >=", value, "stuManageInfo");
            return (Criteria) this;
        }

        public Criteria andStuManageInfoLessThan(Integer value) {
            addCriterion("stu_manage_info <", value, "stuManageInfo");
            return (Criteria) this;
        }

        public Criteria andStuManageInfoLessThanOrEqualTo(Integer value) {
            addCriterion("stu_manage_info <=", value, "stuManageInfo");
            return (Criteria) this;
        }

        public Criteria andStuManageInfoIn(List<Integer> values) {
            addCriterion("stu_manage_info in", values, "stuManageInfo");
            return (Criteria) this;
        }

        public Criteria andStuManageInfoNotIn(List<Integer> values) {
            addCriterion("stu_manage_info not in", values, "stuManageInfo");
            return (Criteria) this;
        }

        public Criteria andStuManageInfoBetween(Integer value1, Integer value2) {
            addCriterion("stu_manage_info between", value1, value2, "stuManageInfo");
            return (Criteria) this;
        }

        public Criteria andStuManageInfoNotBetween(Integer value1, Integer value2) {
            addCriterion("stu_manage_info not between", value1, value2, "stuManageInfo");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryInfoIsNull() {
            addCriterion("stu_dormitory_info is null");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryInfoIsNotNull() {
            addCriterion("stu_dormitory_info is not null");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryInfoEqualTo(Integer value) {
            addCriterion("stu_dormitory_info =", value, "stuDormitoryInfo");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryInfoNotEqualTo(Integer value) {
            addCriterion("stu_dormitory_info <>", value, "stuDormitoryInfo");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryInfoGreaterThan(Integer value) {
            addCriterion("stu_dormitory_info >", value, "stuDormitoryInfo");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryInfoGreaterThanOrEqualTo(Integer value) {
            addCriterion("stu_dormitory_info >=", value, "stuDormitoryInfo");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryInfoLessThan(Integer value) {
            addCriterion("stu_dormitory_info <", value, "stuDormitoryInfo");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryInfoLessThanOrEqualTo(Integer value) {
            addCriterion("stu_dormitory_info <=", value, "stuDormitoryInfo");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryInfoIn(List<Integer> values) {
            addCriterion("stu_dormitory_info in", values, "stuDormitoryInfo");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryInfoNotIn(List<Integer> values) {
            addCriterion("stu_dormitory_info not in", values, "stuDormitoryInfo");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryInfoBetween(Integer value1, Integer value2) {
            addCriterion("stu_dormitory_info between", value1, value2, "stuDormitoryInfo");
            return (Criteria) this;
        }

        public Criteria andStuDormitoryInfoNotBetween(Integer value1, Integer value2) {
            addCriterion("stu_dormitory_info not between", value1, value2, "stuDormitoryInfo");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}